package com.wimcorp.magic.cards;

import java.util.Set;

import javax.persistence.Entity;

import com.wimcorp.magic.abilities.Ability;
import com.wimcorp.magic.behaviour.Behaviour;
import com.wimcorp.magic.color.Color;
import com.wimcorp.magic.cost.Cost;

@Entity
public class Sorcery extends PlayingCard {

	private String type = "Sorcery";

	protected Sorcery(){}
	
	public Sorcery(long multiverseid,String name,String description,Set<Color> colors, Set<Behaviour> behaviours,Set<Ability> abilities,Cost... costs){
		super(multiverseid,name,description,colors,behaviours,abilities,costs);
	}
	
	public Sorcery(PlayingCard card) {
		super(card);
	}
	
	@Override
	public void cast() {
		registerAbilities();
		graveyard();
	}
	
	@Override
	protected PlayingCard copy(PlayingCard original) {
		return new Sorcery(original);
	}

	public String getType() {
		return type;
	}
	



}
